package com.atguigu.product.service;

import com.atguigu.product.entity.AttrGroupEntity;
import com.atguigu.product.vo.AttrGroupWithAttrsVo;
import com.atguigu.product.vo.AttrRelationVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author litong
 * @email 2943284183@qq.com
 * @date 2024-08-07 18:11:07
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils PageCatIdAndKey(Map<String, Object> params,Long catId);

    void removeRelation(AttrRelationVo[] attrRelationVos);

    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}

